<?php 
class VideosView extends Videos{
	public function listar($arr){
		$total = count($arr);
		for($i = 0;$i < $total;$i++){
			echo '<tr>';
			    echo '<td width="70%">',$arr[$i]['link'],'</td>';
				echo '<td width="20%" align="center" onclick="javascript:editar(',$arr[$i]['idvideos'],',\'videos\');" class="tabelaB"><img src="images/app-edit-icon.png" width="20" align="absmiddle" /> Editar</td>';
				echo '<td width="20%" id="editar" align="center" onclick="javascript:excluir(',$arr[$i]['idvideos'],',\'Videos\');" class="tabelaB"><img src="images/app-delete-icon.png" width="20" align="absmiddle" /> Excluir</td>';
			echo '</tr>';
	    }
	}
}
?>